package com.future.domain.DTO;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentDTO {

    @ApiModelProperty("目标类型（1=文章，3=媒体资源）")
    private Integer targetType;

    @ApiModelProperty("目标ID（可以是文章、视频等）")
    private Long targetId;

    @ApiModelProperty("父评论ID（0为顶级）")
    private Long parentId;


    @ApiModelProperty("评论内容")
    private String content;
}